package com.tueye.entity.user;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.tueye.entity.BaseEntity;
import com.tueye.entity.Topics;

/**
 * 鲜花表
 * @author hanxiaowei
 * modify by yue 09/2/19
 *
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "tueye_flowers_info")
public class Flowers extends BaseEntity {
	/*  鲜花个数  */
	private Integer flowersNum;//顶一下
	/*有才个数*/
	private Integer CaiNum;//踩一下
	/*拍的好个数*/
	private Integer PaiNum;
	/*流口水个数*/
	private Integer KouNum;
	/*赞一个数*/
	private Integer ZanNum; 
	/*记录一个客户端的标识*/
	private String clientToken;
	
	private Topics topics;

	public Integer getFlowersNum() {
		return flowersNum;
	}

	public void setFlowersNum(Integer flowersNum) {
		this.flowersNum = flowersNum;
	}

	public Integer getCaiNum() {
		return CaiNum;
	}

	public void setCaiNum(Integer caiNum) {
		CaiNum = caiNum;
	}

	public Integer getPaiNum() {
		return PaiNum;
	}

	public void setPaiNum(Integer paiNum) {
		PaiNum = paiNum;
	}

	public Integer getKouNum() {
		return KouNum;
	}

	public void setKouNum(Integer kouNum) {
		KouNum = kouNum;
	}

	public Integer getZanNum() {
		return ZanNum;
	}

	public void setZanNum(Integer zanNum) {
		ZanNum = zanNum;
	}

	public String getClientToken() {
		return clientToken;
	}

	public void setClientToken(String clientToken) {
		this.clientToken = clientToken;
	}
	 
	@ManyToOne
	public Topics getTopics() {
		return topics;
	}

	public void setTopics(Topics topics) {
		this.topics = topics;
	}
	 
	
	
}
